package spring.cloud.tasks.common.zookeeper;

public class ZookeeperNodeConstants {
    public static final String $ = "$";
    public static final String slash = "/";
    //
    public static final String $system_time = "/system_time";

    public static class ItemTask {

        public static final String $task = "/item_task/task";
        public static final String $workerIds = "/item_task/workerIds";
        //
        public static final String taskItems = "taskItems";
        public static final String taskItemsSnapshotInfo = "taskItemsSnapshotInfo";
        //
        public static final String processorIds = "processorIds";
        //
        public static final String workerIds = "workerIds";

        public static final class TaskItem {


            public static final String $processor_id = "processor_id";
            public static final String $message = "message";
            //public static final String $current_processor_id = "current_processor_id";
            public static final String $current_processor_contract_extension_info = "current_processor_contract_extension_info";

        }
    }

    public static class BatchTask {
        public static final String $task = "/batch_task/task";
        public static final String $workerIds = "/batch_task/workerIds";
        public static final String processorIds = "processorIds";
        //
        public static final String workerIds = "workerIds";

        public static class Task {
            public static final String $task = "task";
            public static final String $instances = "instances";

            public static class Instance {

            }
        }
    }


}
